#ifndef MAINWINDOW_H
#define MAINWINDOW_H

#include <QMainWindow>
#include "settingsdialog.h"
#include "gamecontroller.h"
#include "quizwidget.h"
namespace Ui {
    class MainWindow;
}

class MainWindow : public QMainWindow
{
    Q_OBJECT

public:
    explicit MainWindow(QWidget *parent = 0);
    ~MainWindow();

private:
    Ui::MainWindow *ui;
    SettingsDialog *dlg;
    GameController *controller;
    QuizWidget     *qzwgt;
private slots:
    void on_user_selected();
    void open_settings_dialog();
    void settings_changed();
    void update_usersCB();
    void on_start_clicked();
    void show_stats();
    void on_back_clicked();
    void start_new_game();
    void continue_game();
    void game_exit();
    void card_guessed(int);
    void show_next_card();
    void show_prev_card();
    //void continue_game();
};

#endif // MAINWINDOW_H
